package com.example.demo.domain;

import lombok.Data;

import java.util.Date;

@Data
public class Comment {
    private Long id;
    private Long postId; // Foreign key to BlogPost
    private String authorName;
    private String email;
    private String content;
    private Date creationDate;

    // Getters and setters...
}
